mod day1;
mod day2;


use std::io::Read;


fn main() {    
    println!("Hello, Rust!");

    day1::rust_type::rust_scalar_type();

    day1::rust_type::rust_compound_type();


    day2::logic::logic_process();    


    println!("按回车键继续......");
    let mut buf = [0;1];
    buf[0] = b'C'; //单字节字符
    std::io::stdin().read(&mut buf[..]).unwrap();
}
